package com.boruiimage.demo.mapperDao;

import com.boruiimage.demo.doMain.memberuser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface chackPerson {
    //查询当前用户是不是VIP
    @Select("select * from  memberuser where userName=#{userName} ")
    memberuser mb(@Param(value = "userName")String userName);
}
